package com.hilon.foundation.main;


import com.hilon.foundation.simple.EntityBaseSimple;
import jakarta.persistence.Entity;
import jakarta.persistence.Inheritance;
import jakarta.persistence.InheritanceType;
import lombok.Data;
import lombok.EqualsAndHashCode;

@EqualsAndHashCode(callSuper = true)
@Data
@Entity
@Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
public abstract class BaseMain extends EntityBaseSimple {
    private String baseLog;

    @Override
    public String toString() {
        return "BaseMain{" +
                "baseLog='" + baseLog + '\'' +
                "} " + super.toString();
    }
}
